
package com.gitee.jmash.oidc.oauth2.models;

import jakarta.json.bind.annotation.JsonbProperty;

/** 地址模型. */
public class AddressModel {
  /**
   * Full mailing address, formatted for display or use on a mailing label. This
   * field MAY contain multiple lines, separated by newlines. Newlines can be
   * represented either as a carriage return/line feed pair ("\r\n") or as a
   * single line feed character ("\n").
   */
  private String formatted;
  /**
   * Full street address component, which MAY include house number, street name,
   * Post Office Box, and multi-line extended street address information. This
   * field MAY contain multiple lines, separated by newlines. Newlines can be
   * represented either as a carriage return/line feed pair ("\r\n") or as a
   * single line feed character ("\n").
   */
  @JsonbProperty("street_address")
  private String streetAddress;
  /** City or locality component. */
  private String locality;

  /** State, province, prefecture, or region component. */
  private String region;

  /** Zip code or postal code component. */
  @JsonbProperty("postal_code")
  private String postalCode;

  /** Country name component. */
  private String country;

  public String getFormatted() {
    return formatted;
  }

  public void setFormatted(String formatted) {
    this.formatted = formatted;
  }

  public String getStreetAddress() {
    return streetAddress;
  }

  public void setStreetAddress(String streetAddress) {
    this.streetAddress = streetAddress;
  }

  public String getLocality() {
    return locality;
  }

  public void setLocality(String locality) {
    this.locality = locality;
  }

  public String getRegion() {
    return region;
  }

  public void setRegion(String region) {
    this.region = region;
  }

  public String getPostalCode() {
    return postalCode;
  }

  public void setPostalCode(String postalCode) {
    this.postalCode = postalCode;
  }

  public String getCountry() {
    return country;
  }

  public void setCountry(String country) {
    this.country = country;
  }

}
